continued fractions problem

welcome to shbcf.ru